* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
  }
  a{
    color: #000;
  }
/* 导航栏 */
nav {
  position: sticky;
  top: 0;
  /* background-image: url(../images/logo.png); */
  background-repeat: no-repeat;
  background-size: 60px 100%;
  background-position: 0px 0;
  background-color: rgb(124, 175, 205);
  height: 60px;
  width: 100%;
  z-index: 50;
  }
  nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center; 
  height: 100%;
  padding: 0 20px;
  }
  .text-container {  
  display: flex;  
  flex-direction: column; /* 确保文本垂直排列 */  
  align-items: flex-start; /* 文本左对齐（可选，但通常是默认的） */
  margin-left: 60px;  
  font: italic bold 1.2em "Fira Sans", sans-serif;
  color:#ffffff;
  }  
  .big-text {  
  font-size: 16px;  
  font-weight: bold;  
  margin: 0;  
  }  
  nav ul .search-bar {
  flex: 1; 
  display: flex;
  justify-content: center;
  align-items: center;
  }

  nav ul input {
  padding: 7px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 3px;
  width: 300px;
  }

  nav ul button {
  padding: 7px 10px;
  font-size: 16px;
  background-color: rgb(27, 70, 125);
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  }

  nav ul li {
  list-style: none;
  margin: 0 5px;
  }

  nav ul li a {
  color: white;
  font-size: 16px;
  padding: 7px 13px;
  border-radius: 3px;
  }

  .current {
  background: rgb(159, 180, 234);
  }

  h1{
  color: rgb(50, 49, 49);
  font-size: 20px;
  padding: 7px 13px;
  border-radius: 3px;
  }

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.movie-header {
    margin-top: 20px;
    display: flex;
    width: 100%; 
    margin-bottom: 20px; /* 确保头部与下面的内容有一定的间距 */
}

.movie-poster {
    width: 250px; 
    height: auto; 
    margin-right: 20px; 
    margin-left:150px;
    position: relative;
}

.movie-poster img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* 添加圆角 */
}

.movie-details {
   /* flex: 1 ; */
    width: 800px;
    height:auto;
}

.movie-info {
    padding: 20px;
    border: 1px solid #ccc;
    text-align: left;
    border-radius: 8px;
} 


.movie-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.movie-meta {
    font-size: 16px;
    margin-bottom: 5px;
    color: #000000; /* 调整颜色以与主标题区分 */
}

.movie-intro {
    font-size: 16px;
    border: 1px solid #ccc;
    padding: 20px;
    text-align: left;
}

.action-buttons {
    margin-top: 20px;
}
  .review-buttons {
      display: flex;
      justify-content: center;
      margin-bottom: 10px;
      gap: 10px;
  }
  .review-buttons button {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      border-radius: 5px;
      border:none;
  }
  .review-buttons button.active {
      background-color: rgb(27, 70, 125);
      color: white;
  }
  .review-input {
      display: flex;
      flex-direction: column;
      width: 100%;
      margin-bottom: 20px;
      align-items: center;
  }
  .review-input textarea {
      padding: 10px;
      font-size: 16px;
      width: 80%;
      height: 100px;
      margin-bottom: 10px;
  }
  .review-input select, .review-input button {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      margin: 5px;
      border-radius: 5px;
      border:none;
  }
  .reviews {
      width: 80%;
      margin-top: 20px;
  }
  .review {
      border-bottom: 1px solid #ccc;
      padding: 10px 0;
  }
  /* .review-content {
      margin-bottom: 5px;
  } */
  .review-content {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.6;
}
.review-date,
.review-user,
.review-assist {
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}
  .review-rating {
      color: #FFD700;
  }
  .like-button {
      padding: 5px 10px;
      margin-top: 5px;
      cursor: pointer;
      background-color: #28a745;
      color: white;
      border: none;
      border-radius: 3px;
  }
  .like-button:hover {
      background-color: #218838;
  }
  .action-buttons {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 10px;
  }
  .action-buttons button {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
      border: none;
      border-radius: 5px;
  }
  .favorite-button {
      background-color: #ff6347;
      color: white;
  }
  .favorite-button:hover {
      background-color: #ff4500;
  }
  .recommend-button {
      background-color: #4682b4;
      color: white;
  }
  .recommend-button:hover {
      background-color: #4169e1;
  }